Micron Document
Deavmi's coding shack

Node / mirrors / glog rns://9b13500bd90d7f59fc0a486fa36842db/mirrors/glog
Mirrored from https://new.git.deavmi.assigned.network/deavmi/glog.git synced 29m ago



-─
glog

![](branding/logo.png)

![Go Reference](https://pkg.go.dev/new.git.deavmi.assigned.network/deavmi/glog.git)

A re-implementation of dlog in Go.

Usage

The module's import path is T383838new.git.deavmi.assigned.network/deavmi/glog.git and then you can make
use of all the packages within.

StdLogger

The T383838StdLogger in T383838std/logger is most likely what you will want to be using as it
has support for level-based filtering (via T383838LevelFilter) and uses an T383838Appender which
logs messages that show the log level, the message text and more.

Structured logging

For structured logging support take a look at the T383838structured which contains the
T383838StructuredLogger which will consume a T383838LogRecord and then turn its key-value pairs
into JSON key-value mappings (via the T383838StructuredAppender) and then write this out to
a specific T383838io.Writer (or standard output by default).

Interface compatibility

The T383838StdLogger is compatible with the FreeFaces logging API, this means
that any project which makes use of such an API for logging can have the T383838StdLogger
instance dropped right in.

TODO

• [ ] Switch to Meson build system
• [ ] TODO - backport changes to dlog

License

Please see LICENSE.

Served by rngit 1.5.0 - Generated in 0.24s